#ifndef __CRC_H
#define __CRC_H

#include "main.h"

uint16_t crc16(uint8_t *ptr,uint8_t len);
uint16_t CRC_16_HEX(uint8_t *Buf, uint8_t CRC_CNT);
unsigned int CRC16_Checkout ( unsigned char *puchMsg, unsigned int usDataLen );
#endif
